package com.meteor.quartz.service;

import com.meteor.framework.common.utils.PageResult;
import com.meteor.framework.mybatis.service.BaseService;
import com.meteor.quartz.entity.ScheduleJob;
import com.meteor.quartz.query.ScheduleJobQuery;
import com.meteor.quartz.vo.ScheduleJobVO;

import java.util.List;

/**
 * 定时任务
 *
 * @author lynn
 * @date 2024/1/03
 */
public interface ScheduleJobService extends BaseService<ScheduleJob> {

    PageResult<ScheduleJobVO> page(ScheduleJobQuery query);

    void save(ScheduleJobVO vo);

    void update(ScheduleJobVO vo);

    void delete(List<String> idList);

    void run(ScheduleJobVO vo);

    void changeStatus(ScheduleJobVO vo);
}